package com.ezerg.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.ezerg.boot.autoconfig.SayHelloAutoConfiguration;

@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.ezerg.boot.dao")
@ServletComponentScan("com.ezerg.boot.filter")
//@PropertySource("classpath:/config.properties")
//@ImportResource("classpath:/springmvc-servlet.xml")
@EnableAutoConfiguration(exclude={SayHelloAutoConfiguration.class})
public class SpringbootApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringbootApplication.class, args);
	}
}
